// 全局混入

import Vue from "vue"



import { mapState, mapMutations } from "vuex"



Vue.mixin({
    data() {
        return {

        }
    },
    computed: {
        ...mapState(["likeColor"])
    },
    methods: {
        ...mapMutations(["changelikeColor"]),
        gotoPage(name, query, params) {
            this.$router.push({
                name, query, params
            })
        }
    }
})